﻿using System;
using System.Collections.Generic;
using UnityEngine;

public abstract class TempletObjectBase : ScriptableObject
{

    public string TypeName;

    public string ModelName;

    public List<VerticesData> Vectices;

    public List<TriangelData> Triangles;

    public Material SurfaceMaterial;

    public Material SectionMaterial;

    public object AssetDatabase { get; set; }

    [Serializable]
    public class VerticesData
    {
        public Vector3 Vertices;

        public Vector2 UV;

        public Vector3 Normal;
    }

    [Serializable]
    public class TriangelData
    {

        public int FirstVertice;

        public int SecondVertice;

        public int ThridVertice;
    }


}

